Integrand size = 20, antiderivative size = 695 \[ \int \frac {x}{\sqrt [3]{1-x} \sqrt [3]{2-x}} \, dx=\frac {3}{4} (1-x)^{2/3} (2-x)^{2/3}-\frac {9 \sqrt {(3-2 x)^2} \sqrt {(-3+2 x)^2} \sqrt [3]{2-3 x+x^2}}{2 \sqrt [3]{2} (3-2 x) \sqrt [3]{1-x} \sqrt [3]{2-x} \left (1+\sqrt {3}+2^{2/3} \sqrt [3]{2-3 x+x^2}\right )}+\frac {9 \sqrt [4]{3} \sqrt {2-\sqrt {3}} \sqrt {(-3+2 x)^2} \sqrt [3]{2-3 x+x^2} \left (1+2^{2/3} \sqrt [3]{2-3 x+x^2}\right ) \sqrt {\frac {1-2^{2/3} \sqrt [3]{2-3 x+x^2}+2 \sqrt [3]{2} \left (2-3 x+x^2\right )^{2/3}}{\left (1+\sqrt {3}+2^{2/3} \sqrt [3]{2-3 x+x^2}\right )^2}} E\left (\arcsin \left (\frac {1-\sqrt {3}+2^{2/3} \sqrt [3]{2-3 x+x^2}}{1+\sqrt {3}+2^{2/3} \sqrt [3]{2-3 x+x^2}}\right )|-7-4 \sqrt {3}\right )}{4 \sqrt [3]{2} (3-2 x) \sqrt {(3-2 x)^2} \sqrt [3]{1-x} \sqrt [3]{2-x} \sqrt {\frac {1+2^{2/3} \sqrt [3]{2-3 x+x^2}}{\left (1+\sqrt {3}+2^{2/3} \sqrt [3]{2-3 x+x^2}\right )^2}}}-\frac {3\ 3^{3/4} \sqrt {(-3+2 x)^2} \sqrt [3]{2-3 x+x^2} \left (1+2^{2/3} \sqrt [3]{2-3 x+x^2}\right ) \sqrt {\frac {1-2^{2/3} \sqrt [3]{2-3 x+x^2}+2 \sqrt [3]{2} \left (2-3 x+x^2\right )^{2/3}}{\left (1+\sqrt {3}+2^{2/3} \sqrt [3]{2-3 x+x^2}\right )^2}} \operatorname {EllipticF}\left (\arcsin \left (\frac {1-\sqrt {3}+2^{2/3} \sqrt [3]{2-3 x+x^2}}{1+\sqrt {3}+2^{2/3} \sqrt [3]{2-3 x+x^2}}\right ),-7-4 \sqrt {3}\right )}{2^{5/6} (3-2 x) \sqrt {(3-2 x)^2} \sqrt [3]{1-x} \sqrt [3]{2-x} \sqrt {\frac {1+2^{2/3} \sqrt [3]{2-3 x+x^2}}{\left (1+\sqrt {3}+2^{2/3} \sqrt [3]{2-3 x+x^2}\right )^2}}} \]
[Out]
Time = 0.29 (sec) , antiderivative size = 695, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {81, 63, 637, 309, 224, 1891} \[ \int \frac {x}{\sqrt [3]{1-x} \sqrt [3]{2-x}} \, dx=-\frac {3\ 3^{3/4} \sqrt {(2 x-3)^2} \sqrt [3]{x^2-3 x+2} \left (2^{2/3} \sqrt [3]{x^2-3 x+2}+1\right ) \sqrt {\frac {2 \sqrt [3]{2} \left (x^2-3 x+2\right )^{2/3}-2^{2/3} \sqrt [3]{x^2-3 x+2}+1}{\left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt {3}+1\right )^2}} \operatorname {EllipticF}\left (\arcsin \left (\frac {2^{2/3} \sqrt [3]{x^2-3 x+2}-\sqrt {3}+1}{2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt {3}+1}\right ),-7-4 \sqrt {3}\right )}{2^{5/6} (3-2 x) \sqrt {(3-2 x)^2} \sqrt [3]{1-x} \sqrt [3]{2-x} \sqrt {\frac {2^{2/3} \sqrt [3]{x^2-3 x+2}+1}{\left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt {3}+1\right )^2}}}+\frac {9 \sqrt [4]{3} \sqrt {2-\sqrt {3}} \sqrt {(2 x-3)^2} \sqrt [3]{x^2-3 x+2} \left (2^{2/3} \sqrt [3]{x^2-3 x+2}+1\right ) \sqrt {\frac {2 \sqrt [3]{2} \left (x^2-3 x+2\right )^{2/3}-2^{2/3} \sqrt [3]{x^2-3 x+2}+1}{\left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt {3}+1\right )^2}} E\left (\arcsin \left (\frac {2^{2/3} \sqrt [3]{x^2-3 x+2}-\sqrt {3}+1}{2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt {3}+1}\right )|-7-4 \sqrt {3}\right )}{4 \sqrt [3]{2} (3-2 x) \sqrt {(3-2 x)^2} \sqrt [3]{1-x} \sqrt [3]{2-x} \sqrt {\frac {2^{2/3} \sqrt [3]{x^2-3 x+2}+1}{\left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt {3}+1\right )^2}}}-\frac {9 \sqrt {(3-2 x)^2} \sqrt {(2 x-3)^2} \sqrt [3]{x^2-3 x+2}}{2 \sqrt [3]{2} (3-2 x) \sqrt [3]{1-x} \sqrt [3]{2-x} \left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt {3}+1\right )}+\frac {3}{4} (1-x)^{2/3} (2-x)^{2/3} \]
[In]
[Out]
Rule 63
Rule 81
Rule 224
Rule 309
Rule 637
Rule 1891
Rubi steps \begin{align*} \text {integral}& = \frac {3}{4} (1-x)^{2/3} (2-x)^{2/3}+\frac {3}{2} \int \frac {1}{\sqrt [3]{1-x} \sqrt [3]{2-x}} \, dx \\ & = \frac {3}{4} (1-x)^{2/3} (2-x)^{2/3}+\frac {\left (3 \sqrt [3]{2-3 x+x^2}\right ) \int \frac {1}{\sqrt [3]{2-3 x+x^2}} \, dx}{2 \sqrt [3]{1-x} \sqrt [3]{2-x}} \\ & = \frac {3}{4} (1-x)^{2/3} (2-x)^{2/3}+\frac {\left (9 \sqrt {(-3+2 x)^2} \sqrt [3]{2-3 x+x^2}\right ) \text {Subst}\left (\int \frac {x}{\sqrt {1+4 x^3}} \, dx,x,\sqrt [3]{2-3 x+x^2}\right )}{2 \sqrt [3]{1-x} \sqrt [3]{2-x} (-3+2 x)} \\ & = \frac {3}{4} (1-x)^{2/3} (2-x)^{2/3}+\frac {\left (9 \sqrt {(-3+2 x)^2} \sqrt [3]{2-3 x+x^2}\right ) \text {Subst}\left (\int \frac {1-\sqrt {3}+2^{2/3} x}{\sqrt {1+4 x^3}} \, dx,x,\sqrt [3]{2-3 x+x^2}\right )}{2\ 2^{2/3} \sqrt [3]{1-x} \sqrt [3]{2-x} (-3+2 x)}-\frac {\left (9 \left (1-\sqrt {3}\right ) \sqrt {(-3+2 x)^2} \sqrt [3]{2-3 x+x^2}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1+4 x^3}} \, dx,x,\sqrt [3]{2-3 x+x^2}\right )}{2\ 2^{2/3} \sqrt [3]{1-x} \sqrt [3]{2-x} (-3+2 x)} \\ & = \frac {3}{4} (1-x)^{2/3} (2-x)^{2/3}-\frac {9 \sqrt {(3-2 x)^2} \sqrt {(-3+2 x)^2} \sqrt [3]{2-3 x+x^2}}{2 \sqrt [3]{2} (3-2 x) \sqrt [3]{1-x} \sqrt [3]{2-x} \left (1+\sqrt {3}+2^{2/3} \sqrt [3]{2-3 x+x^2}\right )}+\frac {9 \sqrt [4]{3} \sqrt {2-\sqrt {3}} \sqrt {(-3+2 x)^2} \sqrt [3]{2-3 x+x^2} \left (1+2^{2/3} \sqrt [3]{2-3 x+x^2}\right ) \sqrt {\frac {1-2^{2/3} \sqrt [3]{2-3 x+x^2}+2 \sqrt [3]{2} \left (2-3 x+x^2\right )^{2/3}}{\left (1+\sqrt {3}+2^{2/3} \sqrt [3]{2-3 x+x^2}\right )^2}} E\left (\sin ^{-1}\left (\frac {1-\sqrt {3}+2^{2/3} \sqrt [3]{2-3 x+x^2}}{1+\sqrt {3}+2^{2/3} \sqrt [3]{2-3 x+x^2}}\right )|-7-4 \sqrt {3}\right )}{4 \sqrt [3]{2} (3-2 x) \sqrt {(3-2 x)^2} \sqrt [3]{1-x} \sqrt [3]{2-x} \sqrt {\frac {1+2^{2/3} \sqrt [3]{2-3 x+x^2}}{\left (1+\sqrt {3}+2^{2/3} \sqrt [3]{2-3 x+x^2}\right )^2}}}-\frac {3\ 3^{3/4} \sqrt {(-3+2 x)^2} \sqrt [3]{2-3 x+x^2} \left (1+2^{2/3} \sqrt [3]{2-3 x+x^2}\right ) \sqrt {\frac {1-2^{2/3} \sqrt [3]{2-3 x+x^2}+2 \sqrt [3]{2} \left (2-3 x+x^2\right )^{2/3}}{\left (1+\sqrt {3}+2^{2/3} \sqrt [3]{2-3 x+x^2}\right )^2}} F\left (\sin ^{-1}\left (\frac {1-\sqrt {3}+2^{2/3} \sqrt [3]{2-3 x+x^2}}{1+\sqrt {3}+2^{2/3} \sqrt [3]{2-3 x+x^2}}\right )|-7-4 \sqrt {3}\right )}{2^{5/6} (3-2 x) \sqrt {(3-2 x)^2} \sqrt [3]{1-x} \sqrt [3]{2-x} \sqrt {\frac {1+2^{2/3} \sqrt [3]{2-3 x+x^2}}{\left (1+\sqrt {3}+2^{2/3} \sqrt [3]{2-3 x+x^2}\right )^2}}} \\ \end{align*}
Result contains higher order function than in optimal. Order 5 vs. order 4 in optimal.
Time = 10.02 (sec) , antiderivative size = 38, normalized size of antiderivative = 0.05 \[ \int \frac {x}{\sqrt [3]{1-x} \sqrt [3]{2-x}} \, dx=\frac {3}{4} (1-x)^{2/3} \left ((2-x)^{2/3}-3 \operatorname {Hypergeometric2F1}\left (\frac {1}{3},\frac {2}{3},\frac {5}{3},-1+x\right )\right ) \]
[In]
[Out]
\[\int \frac {x}{\left (1-x \right )^{\frac {1}{3}} \left (2-x \right )^{\frac {1}{3}}}d x\]
[In]
[Out]
\[ \int \frac {x}{\sqrt [3]{1-x} \sqrt [3]{2-x}} \, dx=\int { \frac {x}{{\left (-x + 2\right )}^{\frac {1}{3}} {\left (-x + 1\right )}^{\frac {1}{3}}} \,d x } \]
[In]
[Out]
\[ \int \frac {x}{\sqrt [3]{1-x} \sqrt [3]{2-x}} \, dx=\int \frac {x}{\sqrt [3]{1 - x} \sqrt [3]{2 - x}}\, dx \]
[In]
[Out]
\[ \int \frac {x}{\sqrt [3]{1-x} \sqrt [3]{2-x}} \, dx=\int { \frac {x}{{\left (-x + 2\right )}^{\frac {1}{3}} {\left (-x + 1\right )}^{\frac {1}{3}}} \,d x } \]
[In]
[Out]
\[ \int \frac {x}{\sqrt [3]{1-x} \sqrt [3]{2-x}} \, dx=\int { \frac {x}{{\left (-x + 2\right )}^{\frac {1}{3}} {\left (-x + 1\right )}^{\frac {1}{3}}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {x}{\sqrt [3]{1-x} \sqrt [3]{2-x}} \, dx=\int \frac {x}{{\left (1-x\right )}^{1/3}\,{\left (2-x\right )}^{1/3}} \,d x \]
[In]
[Out]